/****************************************************
 * Description: Service for 课程
 * Copyright:   Copyright (c) 2014
 * Company:     beiwaionline
 * @author      bfsu
 * @version     1.0
 * @see
	HISTORY
    *  2014-01-10 bfsu Create File
**************************************************/

package com.bfsuol.common.service;


import com.bfsuolframework.security.entity.BaseUser;
import com.bfsuolframework.core.service.Service;


public interface LoginService extends Service<BaseUser>{

	/**
	 * 根据用户名 密码 获取用户
	 * @param loginName
	 * @param password
	 * @return
	 */
	public BaseUser getBaseUserByLogin(String loginName,String password);
/**
 * 根据用户名 email 获取用户
 * @param loginName
 * @param email
 * @return
 */
	public BaseUser getBaseUserByEmail(String loginName, String email);


}
